<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class ModifyCounter extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::table('counter_offers', function(Blueprint $table) {
            $table->integer('member_id')->unsigned()->comment('采购商 ID');
        });

        Schema::table('counter_enquiries', function(Blueprint $table) {
            $table->integer('member_id')->unsigned()->comment('供应商 ID');
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        //
    }
}
